<!DOCTYPE html>
<html lang="zh-hans">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<title>安全中心</title>
<link rel="stylesheet" href="__TEMPLATE__/webfile/layer.css" id="layui_layer_skinlayercss">
<link rel="stylesheet" href="__TEMPLATE__/webfile/main.css">
<script src="__TEMPLATE__/sysme/js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="__SYSMET__/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<title>安全中心</title>
<style type="text/css">
.box_list .Title2 {
    width: 100%;
    height: 40px;
    font-size: 14px;
    color: #000;
    border-bottom: 1px solid #ccc;
    background-color: #ffffff;
}
.box_list .Title2 .abstract {
    margin-left: 10px;
}

.box_list .Title2 .btn {
    color: #25a9e8;
    margin-left: 18px;
    border: 1px solid #25a9e8;
    display: inline-block;
    width: 55px;
    height: 6px;
    line-height: 7px;
    cursor: pointer;
    margin-top: -3px;
    margin-right: 10px;
    text-align: center;
    font-size: 14px;
}


.noselect {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ex_custom_table {
    width: 100%;
    border-collapse: collapse;
}

.ex_page_tools {
    text-align: left;
    padding: 4px 0px 4px 0px;
    text-align: center;
}

.page_info {
    font-family: "Microsoft Yahei";
    color: #333;
    font-size: 14px;
    text-align: center;
}

.ex_custom_table thead tr {
    height: 30px;
    background: #dddddd;
}

.ex_custom_table td:first-child {
    border-left: 0px;
}

.ex_custom_table thead td {
    color: #DD3333;
    text-align: center;
    font-size: 12px;
    font-family: "Microsoft Yahei";
    font-weight: bold;
    text-shadow: #FFFFFF 0px 1px 0px;
}

.ex_custom_table td {
    border: 1px Solid #ccc;
    color: #333;
    font-size: 12px;
    font-family: "Microsoft Yahei";
}

.ex_custom_table td:last-child {
    border-right: 0px;
}

.ex_custom_table tbody tr {
    height: 30px;
    background: #ffffff;
}

.ex_custom_table td:last-child {
    border-right: 0px;
}

.ex_custom_table tbody tr td {
    text-align: center;
    height: 22px;
    line-height: 22px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
</style>

</head>
<body cz-shortcut-listen="true">
<div class="header">
	<div class="main main_btm_border">
		<div class="left logo">
			<a href="{:url('index/home')}" class="logo-link" id=""><span class="logo_image"></span>
			<style>
.logo_image{background-image:url(__ATTACHMENT__/{$logo.logoimg})!important}
			</style>
			</a>
		</div>
		<div class="right login_and_userinfo_1">
			<div class="login_header">
				<span class="welcome"></span>
				<div class="mobile_download" style="cursor:pointer">
					<i class="iconfont"></i><i class="iconfont"></i><span class="">手机app下载</span>
				</div>
			</div>
		</div>
	</div>
</div>
<div id="model_2" class="model_2" style="display:none">
	<div class="model_header">
		<h1>温馨提醒</h1>
	</div>
	<div class="model_body">
		<span id="model_content"></span>
	</div>
	<div class="foot_succ">
		<a onclick="jQuery.modal.close()" class="btn btn-default btn-radius">确定</a>
	</div>
</div>
<div class="main usercenter">
	<div class="user_usersafe">
		<div class="user_menu left">
			<h2>会员中心</h2>
			<ul>
				<li><i class="iconfont"></i><a href="{:url('user/index')}">个人中心</a></li>
				<li><i class="iconfont"></i><a class="user_goto_finance" href="{:url('user/recharge')}">财务中心</a></li>
				<li><i class="iconfont"></i><a href="{:url('user/callRecord')}">交易记录</a></li>
				<!-- 	<li><i class="iconfont"></i><a href="{:url('user/detail')}">详细设定</a></li> -->
				<li><i class="iconfont"></i><a href="{:url('user/peilvdetail')}">赔率详情</a></li>
				<li><i class="iconfont"></i><a href="{:url('user/message')}">信息公告</a></li>
				<li><i class="iconfont"></i><a href="{:url('user/djsm')}">等级说明</a></li>
			</ul>
			
			<h2>代理中心</h2>
			<ul>
			
				<li><i class="iconfont"></i><a class="user_goto_finance" href="{:url('user/dlCentent')}">代理说明</a></li>
				{if($f.dl==1)}
				<li><i class="iconfont"></i><a href="{:url('user/dailibaobiao')}">代理报表</a></li>
				<li><i class="iconfont"></i><a href="{:url('user/xiajibaobiao')}">下级报表</a></li> 
				<li><i class="iconfont"></i><a href="{:url('user/xiajikaihu')}">下级开户</a></li>
				<!--<li><i class="iconfont"></i><a href="{:url('user/xiajiguanli')}">下级管理</a></li>-->
				<li><i class="iconfont"></i><a href="{:url('user/touzhumingxi')}">投注明细</a></li>
				<li class="hover"><i class="iconfont"></i><a href="{:url('user/jiaoyimingxi')}">交易明细</a></li>
				{else/}
				{if($open==1)}
				<li><i class="iconfont"></i><a href="{:url('user/shenqing')}">代理申请</a></li>{/if}
				{/if}
			</ul>
		</div>
		
		<div style="width: 820px;border: 1px solid #999999;margin-left: 175px;padding-top: 10px;height: 605px;" class="box_container box_list">
			
			<form action="" method="post" id="search_form">
			<div class="Title2">
                <span class="abstract">摘要：</span>
                <span>
                    <select id="list_type" name="zhaiyao" style="height:26px;">
                        <option value="" >全部</option>
                        <option value="1" {if 1==$zhaiyao}selected{/if}>公司入款</option>
                        <option value="2" {if 2==$zhaiyao}selected{/if}>线上入款</option>
                        <option value="3" {if 3==$zhaiyao}selected{/if}>人工存款</option>
                        <option value="4" {if 4==$zhaiyao}selected{/if}>提款退还</option>
                        <option value="5" {if 5==$zhaiyao}selected{/if}>提款</option>
                     </select> 
                </span>
                <span>
                    近一周记录
                </span>
                <span class="Account">账号：</span>
                <span><input class="text_fname" type="text" id="ex_username" value="{$user}" name="user" placeholder="请输入下级账号..."></span>
                <span class="btn noselect find_user" style="float:right"  onClick="window.history.go(-1);">返回</span>
                <span class="btn noselect find_user" style="float:right"  onclick="document:search_form.submit();">查看</span>
            </div>
			
            </form>
			<div class="Title3" id="text_content">
				<div class="ex_page">
					<table class="ex_custom_table">
						<thead>
							<tr class="beijing">
								<td>账号</td>
								<td>时间</td>
								<td>摘要</td>
								<td>交易金额</td>
								<td>可用金额</td>
								<td>状态</td>
							</tr>
						</thead>
						<tbody>
						{foreach($jiaoyi as $key=>$item)}
						{if($key<($page*$limit) && $key>=(($page-1)*$limit))}
							<tr>
								<td>{$item.username}</td>
								<td>{$item.cztime|date="Y-m-d H:i:s",###}</td>
								<td>{$item.xxbank}</td>
								<td>{$item.je}</td>
								<td>{$item.czhje}</td>
								<td>
									{if($item.zt==1)}成功{/if}
									{if($item.zt=='-1' && $item.czclass!='提现')}充值失败{/if}
									{if($item.zt==0 && $item.czclass!='提现退回')}处理中{/if}
									{if($item.zt=='提款失败' && $item.czclass=='提现退回')}提款失败{/if}
								</td>
							</tr>
						{/if}
						{/foreach}
						
						</tbody>
					</table>
					<div>
           					<div style="float:left; width:65%;margin-top:20px;margin-left:10px;">共{$zys}页， {$count}笔，当前第：{$page}页</div>
							<div style="float:right; width:15%;margin-top:20px;">
							<a href="{:url('user/jiaoyimingxi')}?page={$page-1}&user={$user}&sDate1={$start}&sDate2={$end}">上一页</a>
									<a href="{:url('user/jiaoyimingxi')}?page={$page+1}&user={$user}&sDate1={$start}&sDate2={$end}" style="margin-left:10px">下一页</a>
           					</div>
           				</div>
				</div>
			</div>
           	</div>
           </div>
		</div>
		
		
	</div>
</div>

</body>
</html>